home *** CD-ROM | disk | FTP | other *** search
/ ETO Development Tools 4 / ETO Development Tools 4.iso / Essentials / MacApp Documentation / MacApp.TECH$ Archives / 1988 / Jan 88 / Color Printing 1⁄11 < prev    next >
Encoding:
Text File  |  1991-03-06  |  974 b   |  34 lines  |  [TEXT/GEOL]

  1. Item    2236055                         11-Jan-88        10:43
  2.  
  3. From:   WILSON6                         Wilson, Dave - Personal Concepts
  4.  
  5. To:     D0830                           Data Translation, Dev, R Burger
  6.         MACAPP$                         MacApp Interest List
  7.         MACDTS                          Macintosh Developer Technical Supt.
  8.  
  9. Sub:    Color Printing
  10.  
  11. Roberto,
  12.  
  13. I trick that will at least allow the LaserWriter to print B&W versions of a
  14. color image is one that I use in a color MacPaint program that I wrote for my
  15. "Programming the Mac II" course given at MacWorld Expo last year.
  16.  
  17. When I tried CopyBits to the Printer port, the pritning code bombed.  If I did
  18. this, it worked:
  19.  
  20.     SetPort(offscren grafport)
  21.     OpenPicture
  22.     CopyBits
  23.     ClosePicture
  24.  
  25.     DrawPicture(printer grafport)
  26.  
  27. Now, the DrawPicture routine will interpret the colors, and turn them into B&W.
  28.  
  29. Would this help?
  30.  
  31. Dave Wilson
  32. Instructor, Mac Programming Seminars
  33.  
  34.